package cn.csc.module.shop.controller.admin.detail.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 店铺详情 Excel 导出 Request VO", description = "参数和 ShopDetailPageReqVO 是一致的")
@Data
public class ShopDetailExportReqVO {

    @ApiModelProperty(value = "华商贸的公司id,与支付模块对应")
    private String appUserId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "店铺简介")
    private String intro;

    @ApiModelProperty(value = "店铺logo(可修改)")
    private String shopLogo;

    @ApiModelProperty(value = "店铺移动端背景图")
    private String mobileBackgroundPic;

    @ApiModelProperty(value = "店铺状态(-1:已删除 0: 停业中 1:营业中)")
    private Byte shopStatus;

    @ApiModelProperty(value = "行业类型")
    private Byte businessType;

    @ApiModelProperty(value = "行业id")
    private String businessId;

    @ApiModelProperty(value = "行业名称")
    private String businessName;

    @ApiModelProperty(value = "法人名称")
    private String legalPersonName;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系方式")
    private String phoneNumber;

    @ApiModelProperty(value = "商户地址")
    private String address;

    @ApiModelProperty(value = "营业执照url")
    private String businessLicense;

    @ApiModelProperty(value = "法人证件类型不能为空")
    private String certificateType;

    @ApiModelProperty(value = "证件号码")
    private String idCardNo;

    @ApiModelProperty(value = "身份证正面url")
    private String idCardFront;

    @ApiModelProperty(value = "身份证反面url")
    private String idCardLater;

    @ApiModelProperty(value = "店铺类型,1自营店 2普通店 3华商贸店铺 5采购商 10 供货商 20 选品卖家 30 供货商+卖家")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
